﻿using System;
using System.Collections.Generic;
using System.Text;
using GFrame.Shadow;

namespace EZCRS.HCMS.Entity
{
    [GTable("HCRS_CHANNEL")]
    public class Channel
    {

        private int _id;
        private string _code;
        private string _name;
        private string _remark;
        private int _rank;

        #region 公共属性


        /// <summary>
        /// 自动编号
        /// </summary>
        [GField("id", FieldTypeEnum.PK, true)]
        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        /// <summary>
        /// 渠道编号
        /// </summary>
        [GField("code")]
        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }

        /// <summary>
        /// 渠道名称
        /// </summary>
        [GField("name")]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        /// <summary>
        /// 备注信息
        /// </summary>
        [GField("remark")]
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        /// <summary>
        /// 排序
        /// </summary>
        [GField("Rank")]
        public int Rank
        {
            get { return _rank; }
            set { _rank = value; }
        }



        #endregion
    }


}
